package com.campus.counseling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.counseling.entity.SysMenu;
import com.campus.counseling.model.vo.MenuVO;
import com.campus.counseling.model.vo.RouterVO;
import java.util.List;

public interface SysMenuService extends IService<SysMenu> {
    
    /**
     * 获取菜单树形结构
     */
    List<MenuVO> getMenuTree();
    
    /**
     * 获取用户菜单树
     */
    List<MenuVO> getUserMenuTree(Long userId);
    
    /**
     * 获取用户路由信息
     */
    List<RouterVO> getUserRouters(Long userId);
    
    /**
     * 获取用户权限标识
     */
    List<String> getPermissionsByUserId(Long userId);

    boolean removeById(Long id);
}